package com.bzkj.document.domain;

import com.alibaba.fastjson2.annotation.JSONField;
import com.bzkj.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;

/**
 * @projectName: prt-wms
 * @package: com.bzkj.document
 * @className: BasicQueryDTO
 * @description: 通用查询字段
 * @author: C1309
 * @createDate: 2024年12月22日
 * @version: v1.0
 */
public class BasicQueryDTO extends BaseEntity {

    /** 出库单号 */
    private String vbillcode;

    /** WMS材料出库单号 */
    private String wmsBillCode;

    /** 仓库传pk */
    private String cwarehouseid;

    /** 物料传pk */
    private String cmaterialoid;

    /** 是否余越库（0：否，1：是） */
    private Integer isCross;

    /** 单据状态（未收货：0，已收货：1,已验收：2,已上架：3，已删除：9） */
    @JsonProperty("billsState")
    @JSONField(name = "billsState")
    private String billsState;

    /** wms创建时间 */
    private String dbilldate;

    /** 创建人传工号 */
    private String createBy;

    /** 查询开始时间 */
    private Date startDate;

    /** 查询结束时间 */
    private Date endDate;

    /** 物料的PK值 */
    private String material;

    /** 领料员pk*/
    private String cbizid;

    /** 签字人code*/
    private String signatory;

    /** 制单人pk */
    private String billmaker;

    public String getVbillcode() {
        return vbillcode;
    }

    public void setVbillcode(String vbillcode) {
        this.vbillcode = vbillcode;
    }

    public String getWmsBillCode() {
        return wmsBillCode;
    }

    public void setWmsBillCode(String wmsBillCode) {
        this.wmsBillCode = wmsBillCode;
    }

    public String getCwarehouseid() {
        return cwarehouseid;
    }

    public void setCwarehouseid(String cwarehouseid) {
        this.cwarehouseid = cwarehouseid;
    }

    public String getCmaterialoid() {
        return cmaterialoid;
    }

    public void setCmaterialoid(String cmaterialoid) {
        this.cmaterialoid = cmaterialoid;
    }

    public Integer getIsCross() {
        return isCross;
    }

    public void setIsCross(Integer isCross) {
        this.isCross = isCross;
    }

    public String getBillsState() {
        return billsState;
    }

    public void setBillsState(String billsState) {
        this.billsState = billsState;
    }

    public String getDbilldate() {
        return dbilldate;
    }

    public void setDbilldate(String dbilldate) {
        this.dbilldate = dbilldate;
    }

    @Override
    public String getCreateBy() {
        return createBy;
    }

    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public String getCbizid() {
        return cbizid;
    }

    public void setCbizid(String cbizid) {
        this.cbizid = cbizid;
    }

    public String getSignatory() {
        return signatory;
    }

    public void setSignatory(String signatory) {
        this.signatory = signatory;
    }

    public String getBillmaker() {
        return billmaker;
    }

    public void setBillmaker(String billmaker) {
        this.billmaker = billmaker;
    }

    @Override
    public String toString() {
        return "BasicQueryDTO{" +
                "vbillcode='" + vbillcode + '\'' +
                ", wmsBillCode='" + wmsBillCode + '\'' +
                ", cwarehouseid='" + cwarehouseid + '\'' +
                ", cmaterialoid='" + cmaterialoid + '\'' +
                ", isCross=" + isCross +
                ", billsState='" + billsState + '\'' +
                ", dbilldate='" + dbilldate + '\'' +
                ", createBy='" + createBy + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", material='" + material + '\'' +
                ", cbizid='" + cbizid + '\'' +
                ", signatory='" + signatory + '\'' +
                ", billmaker='" + billmaker + '\'' +
                '}';
    }
}
